import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {MemShippingAddressComponent} from './mem-shipping-address.component';

const routes: Routes = [
    {
        path: '', component: MemShippingAddressComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-mem-shipping-address/add-mem-shipping-address.module#AddMemShippingAddressModule'},
            {path: 'list', loadChildren: './list-mem-shipping-address/list-mem-shipping-address.module#ListMemShippingAddressModule'},
            {
                path: 'modify',
                loadChildren: './modify-mem-shipping-address/modify-mem-shipping-address.module#ModifyMemShippingAddressModule'
            },
            {
                path: 'report',
                loadChildren: './report-mem-shipping-address/report-mem-shipping-address.module#ReportMemShippingAddressModule'
            },
            {
                path: 'mem-shipping-address',
                loadChildren: './report-mem-shipping-address/report-mem-shipping-address.module#ReportMemShippingAddressModule'
            },


        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class MemShippingAddressRoutingModule {
}
